package com.aspose.cells;

import java.util.Iterator;

class zaqi {
   private com.aspose.cells.a.f.zi a;
   private Workbook b;

   public zaqi(com.aspose.cells.a.f.zi var1, Workbook var2) {
      this.a = var1;
      this.b = var2;
   }

   public void a() throws Exception {
      String var1 = "Basic/";
      Iterator var2 = this.a.iterator();

      while(var2.hasNext()) {
         com.aspose.cells.a.f.zh var3 = (com.aspose.cells.a.f.zh)var2.next();
         if (var3.b().startsWith(var1)) {
            com.aspose.cells.b.a.d.zm var4 = this.a.a(var3);
            byte[] var5 = this.a(var4);
            var4.a();
            if (var5.length > 0) {
               this.b.n().put(var3.b(), var5);
            }
         }
      }

   }

   private byte[] a(com.aspose.cells.b.a.d.zm var1) throws Exception {
      byte[] var2 = new byte[(int)var1.h()];
      var1.a(var2, 0, var2.length);
      return var2;
   }
}
